package com.lfs.adapter.service;

import com.alibaba.fastjson.JSONObject;
import com.lfs.adapter.dto.PddProductPropertyDto;
import com.lfs.base.dto.Result;
import com.lfs.interfaces.dto.LogisticsTemplateDto;
import com.lfs.interfaces.dto.ResultReturn;
import com.lfs.interfaces.dto.TokenCreateDto;
import com.lfs.interfaces.model.vo.LogisticsTemplateVo;
import com.lfs.interfaces.model.vo.MallInfoVo;
import com.lfs.interfaces.model.vo.TokenCreateVo;

import java.util.List;
import java.util.Map;

public interface PlatformManagerService {

    String getAuthUrl(TokenCreateDto tokenCreateDto);

    TokenCreateVo getAccessToken(TokenCreateDto tokenCreateDto);

    String releaseProduct();

    List<LogisticsTemplateVo> getLogisticsTemplate(LogisticsTemplateDto logisticsTemplateDto);

    MallInfoVo getMallInfo(TokenCreateDto tokenCreateDto);

    String getGoodsCats();

    String getGoodsRule();

    String getCurrentCommodityCategory(String accessToken);

    String searchPddBrand(String value, Long catId, Long refPid, String accessToken);

    String getFreightTemplateData(String accessToken);

    String getVideoData(String accessToken);

    String getCurrentGoodsInfo(Long catId, String accessToken);

    String getTwoPiecesDiscountRule(Long catId, String accessToken);

    String getGoodsSpecifications(Long catId, String accessToken);

    String getCustomSpecifications(Long parentSpecId, String specName, String accessToken);

    String getGoodsCountry(String accessToken);

    String goodsImgUpload(String fileUrl, String accessToken);
    String filesPaceImgUpload(String fileUrl, String accessToken);

    Map<String, Object> releaseGoods(PddProductPropertyDto pddProductPropertyDto, String accessToken);

    String getPageCode(JSONObject jsonObject);
}
